package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 采购审批表
    */
public class PurchaseApproval implements Serializable {
    private Integer id;

    /**
    * 采购id
    */
    private Integer procurementId;

    /**
    * 所属节点
    */
    private Integer node;

    /**
    * 审批人id
    */
    private Integer staffId;

    /**
    * 审批状态（0不通过  1审批中 2通过）
    */
    private Integer state;

    /**
    * 审批内容
    */
    private String approvalInfo;

    /**
    * 审批时间
    */
    private Date approvalTime;

    /**
    * 备注
    */
    private String remarks;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProcurementId() {
        return procurementId;
    }

    public void setProcurementId(Integer procurementId) {
        this.procurementId = procurementId;
    }

    public Integer getNode() {
        return node;
    }

    public void setNode(Integer node) {
        this.node = node;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getApprovalInfo() {
        return approvalInfo;
    }

    public void setApprovalInfo(String approvalInfo) {
        this.approvalInfo = approvalInfo;
    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", procurementId=").append(procurementId);
        sb.append(", node=").append(node);
        sb.append(", staffId=").append(staffId);
        sb.append(", state=").append(state);
        sb.append(", approvalInfo=").append(approvalInfo);
        sb.append(", approvalTime=").append(approvalTime);
        sb.append(", remarks=").append(remarks);
        sb.append("]");
        return sb.toString();
    }
}